home *** CD-ROM | disk | FTP | other *** search
-
-
- TutorialWriter Version 3 Command Summary
-
-
- Control Commands begin with #,@,& or % which must be placed in the first
- column of a row. The format of each command is critical to its correct
- interpretation. For example, the Command to clear the screen is #EF[,15,1]
- The parameters in square brackets are optional but if they are used, the
- commas must also be put in the correct places. If optional parameters are
- not used, pre-programmed default values will be used in their place.
- Each Command is explained within the Editor HELP system and fully described
- in the 'How to write a Tutorial' at the Instructions Menu.
-
-
- Inline Commands begin with the symbol ~ or | and can be placed anywhere
- in the text. They are removed before the text is printed to the screen.
-
-
-
-
- ART TEXTGRAPHICS
- #AH,Center,lines .................................... Huge Robot Box
- #AP,Center,lines .................................... Pointer Box
- #AR,Center,lines .................................... Remember Box
- #AL,lines[,Fore,back] ................................ Logo Box
- #AC,x1,y1,Fore,Back,Message .......................... Cheering Robot
- #AB,n[,Fore,Back] .................................... Big Letters
-
- Center : 1 - center text 0 - left justify text
-
-
-
- BOX DISPLAY
- #BN,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Normal Box
- #BO,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Overlay Box
-
- Boxtype: #BN #BO
- 0 - no border 0 - no border
- 1 - single line border 1 - single line border
- 2 - double line border 2 - double line border
- 3 - single top/bot,double sides 3 - single top/bot,double sides
- 4 - double top/bot,single sides 4 - double top/bot/single sides
- 5 .. 255 ASCII character 5 - as 0 with dropped shadow
- 6 - as 1 with dropped shadow
- 7 - as 2 with dropped shadow
- 8 - as 3 with dropped shadow
- 9 - as 4 with dropped shadow
- 10 .. 255 ASCII character
-
-
- Grow : 1 - grow 0 - appear fully drawn
- Center : 1 - center text 0 - left justify text
-
-
- COLOR CODES FOR FORE AND BACK
-
- Back Fore Color Fore Color
- 0 0 Black 8 DarkGray
- 1 1 Blue 9 LightBlue
- 2 2 Green 10 LightGreen
- 3 3 Cyan 11 LightCyan
- 4 4 Red 12 LightRed
- 5 5 Magenta 13 LightMagenta
- 6 6 Brown 14 Yellow
- 7 7 LightGray 15 White
-
-
-
- CURSOR CONTROL
- #Cx1 ................................................. Cursor at Col x1
- #Ry1 ................................................. Cursor at Row y1
- #Cx1,Ry1 ............................................. Cursor at x1,y1
- #ON .................................................. Show Cursor
- #OF .................................................. Hide Cursor
-
-
-
- DELAY
- #Dn .................................................. Delay n seconds
-
-
- ERASE
- #EF[,Fore,Back] ...................................... Clear Full Screen
- #EW[,Fore,Back] ...................................... Clear Work Screen
- #EL,y1[,Fore,Back] ................................... Erase Line at Row y1
- #ES,x1,y1,x2,y2[,Fore,Back] .......................... Erase a Section
-
-
- EXIT
- #X ................................................... End CHAPTER
-
-
- GRAPHICS TEXT SCREENS
- #GT,Identifier (file saved with TWSNAP)............... Show Textscreen
- #GA,ansifile.ans ..................................... Show ANSI Graphic
-
-
- HIGHLIGHT
- #HP,Pointer,Direction,x1,y1[,Fore,Back] .............. Highlight Pointer
- #HH,x1,y1,x2,Linetype[,Fore,Back] .................... Horizontal Line
- #HV,x1,y1,y2,Linetype[,Fore,Back] .................... Vertical Line
- #HS,x1,y1,x2,y2[,Fore,Back] .......................... Color Section
- #HF,x1,y1,x2,y2,n[,Fore,Back] ........................ Fill with ASCII n
-
- Pointer : A - arrow T - triangle
- Direction : U - up; D - down; L - left; R - right
- Linetype : 1 - single line 2 - double line
-
-
- HYPERTEXT
- |word or phrase| (file created with HyperText Utility) HyperText Button
-
-
- INLINE COMMANDS
-
- ~lowercaseletter - changes the background color of the text being printed.
- ~Uppercaseletter - changes the color of the text being printed.
-
- Background Text Color
-
- ~z ~Z Black
- ~b ~B Blue
- ~g ~G Green
- ~c ~C Cyan
- ~r ~R Red
- ~m ~M Magenta
- ~y ~Y Brown
- ~w ~W LightGray
- ~Z~I DarkGray
- ~B~I LightBlue
- ~G~I LightGreen
- ~C~I LightCyan
- ~R~I LightRed
- ~M~I LightMagenta
- ~Y~I Yellow
- ~W~I White
-
- ~K - print with a clicking sound; ~k - cancel the clicking sound.
-
- ~S - slow write to the screen; ~s - cancel slow writing.
-
- |word| makes 'word' a HYPERTEXT Button.
-
-
-
- MENU
- #Mfilename (file created with Menu Utility) .......... Activate Menu
-
-
- MUSIC
- #Pfilename (file created with Music Utility) ......... Play tune
-
-
- NOISE/SOUNDS
- #NB .................................................. Beep
- #NC .................................................. Two-tone Chime
- #ND .................................................. Discourage Noise
- #NE .................................................. Encourage Noise
-
-
- PAGEMARKER
- % .................................................. Page Marker
-
- QUIZ/TEST
- #QQ,R,lines .......................................... Quick Question Robot
- #QQ,B,lines .......................................... Quick Question Box
- #QQ,F,x1,y1,Tries,word ............................... Fill in Blanks
- #QQ,C ................................................ Give an AnswerChoice
- &1 &2 &3 ............................................ Markers for choices
- #QM,A,t,n ............................................ Mult Choice t, n Ans
- #QM,L,t .............................................. Loop to Question t
- #QM,C,t .............................................. Go to Continue Point t
- @Qt ................................................ Mark Mult Choice t
- @n ................................................. Mark Answers
- @Ct ................................................. Mark Continue Point t
- #QT,Q,filename (file created with Quiz Utility) ...... Run Quiz(filename)
- #QT,T,filename (file created with Test Utility) ...... Run Test(filename)
-
-
- SCREEN
- #SK,S,n .............................................. Save Screen n
- #SK,D,n .............................................. Dispose Screen n
- #SK,R,Direction,n .................................... Restore Screen n
- #SS,Direction,x1,y1,x2,y2,n .......................... Scroll Screen
-
- Direction : U - up; D - down; L - left; R - right
- N - iNstantly
-
- TITLE
- #T[Fore,Back] ........................................ Put Title on
- #T[Title]
- #T[Fore,Back,Title]
-
-
- USER FILES
- #UFilename.ext[,Parameters] ......................... Run program Filename
-
-
- USER INPUT
- #Yn (n is 0 to 9) ................................... Get Info from User
- ~Un (Inline Command) ................................. Display User Info n
-
-
- VOICE
- #Vfilename (file created with Voice Utility) ......... Play a Voice file
-
-
- WAIT
- #W[Switch[,Switch[,Switch] ........................... Continue plus
- #W .................................................. Continue or Quit
- #WH .................................................. Continue,Quit,Help
- #WP .................................................. Continue,Quit,Pageback
- #WN .................................................. Continue
- #WH,P,N .............................................. Continue,Help,Pageback
-
-